// interfaces.ts
import { CardType } from './enums';

export interface Card {
  id: number;
  type: CardType;
}

export interface AnimalCard extends Card {
  name: string;
  fruits: number[];
  type:number;
}

export interface FlipCard extends Card {
  // 可以根据需要添加额外属性
}